package org.jeecg.modules.cosmetic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 毒理数据子列表:透皮吸收,急性毒性,刺激性,致敏性,光毒性,致突变性,系统毒性
 * </p>
 *
 * @author lq
 * @since 2024-02-29 13:57:48
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("t_toxicological_sublist")
@ApiModel(value = "TToxicologicalSublist对象", description = "毒理数据子列表:透皮吸收,急性毒性,刺激性,致敏性,光毒性,致突变性,系统毒性")
public class TToxicologicalSublist implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("毒理数据表ID")
    private Long toxId;

    @ApiModelProperty("数据类型：1-动物实验；2-替代实验；3-人体实验；4-体内实验；5-体外实验，6-未知")
    private Integer type;

    @ApiModelProperty("数据来源")
    private String source;

    @ApiModelProperty("测试方式")
    private String method;

    @ApiModelProperty("实验名称")
    private String title;

    @ApiModelProperty("实验次数")
    private String times;

    @ApiModelProperty("动物种属")
    private String object;

    @ApiModelProperty("途径")
    private String ways;

    @ApiModelProperty("原料浓度")
    private String density;

    @ApiModelProperty("结果")
    private String result;

    @ApiModelProperty("结论")
    private String conclude;

    @ApiModelProperty("阐述方式模板数据")
    private String expoundTemp;

    @ApiModelProperty("阐述方式")
    private String expound;

    @ApiModelProperty("表格类型：4-透皮吸收；5-急性毒性；6-刺激性；7-致敏性；8-光毒性；9-致突变性；10-系统毒性；11-致癌性；12-人体实验；13-免疫病毒；14-神经病毒；15-内分泌病毒")
    private Integer form;

    @ApiModelProperty("是否优选，0-优选，1-不优选")
    private Integer pick;

    @ApiModelProperty("试验目的")
    private String purpose;

    @ApiModelProperty("剂量")
    private String dosage;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty("实验时间")
    private Date period;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date updateTime;

    @ApiModelProperty("表单状态（0-正常，1-删除）")
    @TableLogic
    private Integer deleted;


}
